package Model;

public class Admin extends Record {
    private String password;
    private boolean status;

    public Admin() { status = false; }

    public Admin(String name, String password) {
        status = false;

        this.name = name;
        this.password = password;
    }

    public boolean getStatus() { return status; }

    String getPassword() {
        return password;
    }

    public void setStatus(String name, String password){
        if( this.name.equals(name) && this.password.equals(password) ){
            this.status = true;
        }
    }
}
